//
//  MinePresenter.m
//  ApeExample
//
//  Created by Eton on 2017/7/28.
//  Copyright © 2017年 王-庭协. All rights reserved.
//

#import "MinePresenter.h"
#import "MineListModel.h"

@implementation MinePresenter

- (NSArray *)mineArray{
    if (!_mineArray) {
        NSArray * icons = @[@"mine_listicon01"];
        NSArray * titles = @[MineTableName_Setting];
        NSArray * subTitles = @[@"你随意设置我不反对"];
        
        NSMutableArray * resultArray = [NSMutableArray array];
        for (NSInteger i = 0; i < titles.count; i++) {
            MineListModel * model = [[MineListModel alloc] init];
            model.icon = icons[i];
            model.title = titles[i];
            model.subTitle = subTitles[i];
            [resultArray addObject:model];
        }
        _mineArray =  resultArray;
    }
    return _mineArray;
}

@end
